﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Common.Device.DeviceDb
{

    [SugarTable("ZhiKongInfo")]
    public class ZhiKongInfo
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }
        /// <summary>
        /// 指令号
        /// </summary>
        public string Code { get; set; }
        /// <summary>
        /// 状态（ok11,ng(1.2.3.....)）初测
        /// </summary>
        public string State { get; set; }
        /// <summary>
        /// 状态（ok11,ng(1.2.3.....)）复测
        /// </summary>
        public string State1 { get; set; }
        /// <summary>
        /// 结果初次
        /// </summary>
        public string restul { get; set; }
        /// <summary>
        /// 结果复测
        /// </summary>
        public string restul1 { get; set; }
        /// <summary>
        /// 编码
        /// </summary>
        public string SN { get; set; }
        /// <summary>
        /// 工位
        /// </summary>
        public string Station { get; set; }
        /// <summary>
        /// 软件版本
        /// </summary>
        public string TestOS_Rev { get; set; }
        /// <summary>
        /// 蓝牙地址
        /// </summary>
        public string BT_MAC { get; set; }
        /// <summary>
        /// 蓝牙名字
        /// </summary>
        public string BT_NAME { get; set; }
        /// <summary>
        /// CPU地址
        /// </summary>
        public string CPU { get; set; }
        public string PackageWorker { get; set; }
        public DateTime? PackageTime { get; set; }
        /// <summary>
        /// 时间初测
        /// </summary>
        public DateTime? Time { get; set; }
        /// <summary>
        /// 时间复测
        /// </summary>
        public DateTime? Time1 { get; set; }

    }
    [SugarTable("ZhiKongInfos")]
    public class ZhiKongInfos
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }
        /// <summary>
        /// 编码
        /// </summary>
        public string SN { get; set; }
        /// <summary>
        /// 指令号
        /// </summary>
        public string Code { get; set; }
        /// <summary>
        /// 蓝牙地址
        /// </summary>
        public string BT_MAC { get; set; }
        /// <summary>
        /// 蓝牙名字
        /// </summary>
        public string BT_NAME { get; set; }
        /// <summary>
        /// CPU地址
        /// </summary>
        public string CPU { get; set; }
        /// <summary>
        /// 工位
        /// </summary>
        public string Station { get; set; }
        /// <summary>
        /// 人工确认
        /// </summary>
        public string TestOS_Rev { get; set; }
        /// <summary>
        /// 状态（ok11,ng(1.2.3.....)）
        /// </summary>
        public string State { get; set; }
        /// <summary>
        /// 结果
        /// </summary>
        public string restul { get; set; }
        /// <summary>
        /// 时间
        /// </summary>
        public DateTime Time { get; set; }

    }
}
